package partial;

public class CoadaA {

    NodA id[] = new NodA[100];
    int idxCap = 0;
    int idxCoada = 0;

    public void put(NodA x) {
        id[idxCoada] = x;
        idxCoada++;
    }

    public NodA get() {
        NodA v = id[idxCap];
        idxCap++;
        return v;
    }

    public boolean isEmpty() {
        if (idxCap == idxCoada) {
            return true;
        } else {
            return false;
        }
    }
}
